{include file="header.htm"}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$title}</title>
</head>
<body>
	<div class="content-box">
		<div class="content-box-header">
			<h3>{$title}</h3>
		<ul class="content-box-tabs">
          <li><a class="current" href="{url _a=user _m=index}">地盘</a></li>
          <li><a href="{url _a=Login _m=Logout returl=$returl}">{$L.EXIT}</a></li>
        </ul>
			
		</div>
		<div class="content-box-content">
	<a class="button2" href="{url _m=Smserrorlog id=$id}">查看错误日志</a><br />
{if $l}{section name=i loop=$l}
{$page*$pagesize-$pagesize+$smarty.section.i.index+1}.号码:{$l[i].log_phone}<br />
 信息:{$l[i].log_command}<br />
 结果:{$l[i].log_result}<br />
时间:{'Y-m-d H:i:s'|date:$l[i]['log_adtime']}
<hr />
 {/section}
  [第{$page}/{$pagecount}页 共{$count}条日志]<br />
{if $page>2}<a class="button2" href="{url id=$id page=1}">首页</a>{/if} 
{if $pagecount>1 && $page<$pagecount}<a class="button2" href="{url id=$id page=$page+1}">下页</a>{/if} 
{if $page>1}<a class="button2" href="{url id=$id page=$page-1}">上页</a>{/if} 
{if $page<$pagecount && $pagecount>2}<a class="button2" href="{url id=$id page=$pagecount}">末页</a>{/if}
{if $pagecount>1}<hr />{/if}
 {else}
你查看的指令还没有使用日志<br />
 {/if}
 <a class="button2" href="{url _m=Smslist}">指令首页</a>   <a class="button2" href="{url _a=index _m=index}">网站首页</a>
		</div>
	</div>
</body>
</html>